//
//  UIImage+YS.m
//  GuBoShi
//
//  Created by 邓成成 on 2017/4/6.
//  Copyright © 2017年 YiShi. All rights reserved.
//

#import "UIImage+YS.h"

@implementation UIImage (YS)
#pragma mark - refresh

+ (NSArray *)imagesForRefreshIdle {
    NSMutableArray *idleImages = [NSMutableArray array];
    for (NSUInteger i = 1; i<=10; i++) {
        UIImage *image = [UIImage imageNamed:[NSString stringWithFormat:@"pulling0%zd", i]];
        [idleImages addObject:image];
    }
    return idleImages;
}

+ (NSArray *)imagesForRefreshPulling {
    NSMutableArray *refreshingImages = [NSMutableArray array];
    for (NSUInteger i = 1; i<=10; i++) {
        UIImage *image = [UIImage imageNamed:[NSString stringWithFormat:@"pulling0%zd", i]];
        [refreshingImages addObject:image];
    }
    return refreshingImages;
}
@end
